package com.xiaoyu.test.bean;


import com.xiaoyu.beans.factory.annotation.Autowired;
import com.xiaoyu.stereotype.Component;

/**
 * @author derekyi
 * @date 2021/1/25
 */
@Component
public class B {

	@Autowired
	private A a;

	public A getA() {
		return a;
	}

	public void setA(A a) {
		this.a = a;
	}

	@Override
	public String toString() {
		return "B{" +
				"a=" + a +
				'}';
	}
}
